# coding=utf8
# 全世界最帅的帅哥
from flask import Blueprint
from flask_restful import Api
from comment.utils.output import output_json

letter_bp = Blueprint("letter", __name__, url_prefix="/letter")
letter_api = Api(letter_bp)

letter_api.representation("application/json")(output_json)

from .letter_resources import LetterResource

letter_api.add_resource(LetterResource, "/message", endpoint="message")
